css: Use the correct free function
authorBenjamin Otte <otte@redhat.com>
Tue, 19 Jul 2011 13:54:09 +0000 (15:54 +0200)
committerBenjamin Otte <otte@redhat.com>
Wed, 20 Jul 2011 00:36:44 +0000 (02:36 +0200)
gtk/gtkcssparser.c

index 1b2710d047731e85ccefeb115bcee2840d04eab8..e9fe6a4fdb795c8a38c701ea2435dcddf038412e 100644 (file)
@@ -662,7 +662,7 @@ gtk_css_parser_read_symbolic_color_function (GtkCssParser *parser,
           child2 = _gtk_css_parser_read_symbolic_color (parser);
           if (child2 == NULL)
             {
-              g_object_unref (child1);
+              gtk_symbolic_color_unref (child1);
               return NULL;
             }
         }